package com.mooc.libnetwork;

/**
 * interface中方法都需要实现
 *
 * @param <T>
 */
public interface JsonCallbackInterface<T> {
    public void onSuccess(ApiResponse<T> response);

    public void onError(ApiResponse<T> response);

    public void onCacheSuccess(ApiResponse<T> response);
}
